<?php
/**
 * Copyright (c) 2017 kuaidihelp.com All right reserved.
 */

/**
 * Created by PhpStorm.
 * User: kb112
 * Date: 2017/5/15
 * Time: 15:27
 */

namespace soa\account;

use soa\client;

class Eshop extends client
{
    /**
     * 服务地址
     * @var string
     *
     */
    public $service_url = 'http://account.core.kuaidihelp.com/';

    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_account';

    /**
     * @param $method
     * @param $args
     * @return bool|null
     */
    public function __call($method, $args)
    {
        return $this->get("v1/user/Eshop/{$method}", $args[0]);
    }
}